import { IForm } from "@/base-ui/from/types/index";

export const fromConfig: IForm = {
  labelWidth: "100px",
  fromItems: [
    {
      field: "name",
      label: "用户名",
      placeholder: "请输入用户名",
      type: "input",
    },
    {
      field: "id",
      label: "角色名称",
      placeholder: "请输入角色名称",
      type: "input",
    },
    {
      field: "intro",
      label: "权限名称",
      placeholder: "请输入权限介绍",
      type: "input",
    },
    {
      field: "createTime",
      label: "创建的时间",
      placeholder: "请选择创建的时间",
      type: "datepicker",
      otherOptions: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "daterange",
      },
    },
  ],
};
